#define  _CRT_SECURE_NO_WARNINGS 1

#include <list>
#include "priority_queue.h"


void test_priority_queue()
{
	list<int> lt = { 15,96,87,55,44,12,23,65,49,78,44,15,123,968,457 };
	zzh::priority_queue<int> pq(lt.begin(), lt.end());
	cout << "top: " << pq.top() << endl;

	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
	cout << endl;
}

int main()
{
	test_priority_queue();

	return 0;
}